<?php
class Anderles_Form_Captcha_Captcha extends Zend_Form_Element_Captcha {
	public function __construct()
	{
		$_path = "../public";
	    $captcha = new Anderles_Form_Captcha_CaptchaCalc(array(
	            'lineNoiseLevel' => 0,
	            'dotNoiseLevel' => 0,
	            'width' => 140,
	            'height' => 40,
	            'fontSize' => 16,
	    		'timeout'   => 200,
	    		'font' => 'captcha/fonts/lbrite.ttf',
	    		'imgDir' => 'captcha/',
	    		'imgUrl' => '/captcha/'
	    ));
		parent::__construct('secf', array(
			'decorators' => array('errors'),
		    'class' => 'text',
			'required' => true,
			'captcha' => $captcha
		));
	}
}
